package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author WEN
 * @Date 2023/10/27 0027
 **/
@Data
@ApiModel("工单备件详情对象")
public class WorkSpareDetailVo {
    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "工单ID")
    private Long workId;

    @ApiModelProperty(value = "工单单号")
    private String workNo;

    @ApiModelProperty(value = "申请类型：1-商家备件，2-服务商备件")
    private Integer type;

    @ApiModelProperty(value = "服务商备件类型：1-自购备件，2-服务商仓库备件")
    private Integer networkSpareType;

    @ApiModelProperty(value = "工单备件状态：1-待审核、2-已通过、3-已驳回、4-已撒回，5-已取消")
    private Integer status;

    @ApiModelProperty(value = "备件单号")
    private String code;

    @ApiModelProperty(value = "备注")
    private String applyRemark;

    @ApiModelProperty(value = "申请人类型：1-系统客服，2-网点移动端，3-第三方系统接口")
    private Integer applyEmpType;

    @ApiModelProperty(value = "申请人")
    private String applyEmp;

    @ApiModelProperty(value = "第三方系统是否接收到数据：false-待确认接收，true-已接收")
    private Boolean received;

    @ApiModelProperty(value = "旧件处理方式：1-废弃，2-旧件退回")
    private Integer oldCopeWay;

    @ApiModelProperty(value = "审核人")
    private String reviewEmp;

    @ApiModelProperty(value = "审核时间")
    private Date reviewTime;

    @ApiModelProperty(value = "审核备注")
    private String reviewRemark;

    @ApiModelProperty(value = "申请/创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "收货地址类型：1-工单客户地址，2-服务商地址")
    private Integer receiptAddrType;

    @ApiModelProperty(value = "客户/服务商ID", required = true)
    private Long userOrNetworkId;

    @ApiModelProperty(value = "收货人姓名")
    private String receiptName;

    @ApiModelProperty(value = "收货人手机号")
    private String receiptPhone;

    @ApiModelProperty(value = "收货地址-省")
    private String receiptProvince;

    @ApiModelProperty(value = "收货地址-市")
    private String receiptCity;

    @ApiModelProperty(value = "收货地址-县/区")
    private String receiptArea;

    @ApiModelProperty(value = "收货地址-镇")
    private String receiptTown;

    @ApiModelProperty(value = "收货人详细地址")
    private String receiptAddress;


}
